package com.shycloud.mido.homework.pattern;

import java.time.LocalDate;
import java.util.Map;
import com.shycloud.mido.common.core.util.R;
import com.shycloud.mido.homework.api.vo.HomeworkDashboardReqVO;
import com.shycloud.mido.homework.api.vo.HomeworkDashboardRespVO;


/**
 * <pre>
 * 学生：isStudent = true
 *    	多师模式：mode = 1 && classroomId = XXX
 *        	1全部老师：isParentMode = 0 && teacherId = null
 *        	2某一个老师：isParentMode = 0 && teacherId = xxx
 *        	3目标： isParentMode = 1 &&  teacherId = parentMode
 *    	旧模式：mode = 0
 *        	4某一个老师：isParentMode = 0 && teacherId = xxx
 *        	5目标： isParentMode = 1 &&  teacherId = parentMode
 * 老师：isStudent = false
 *		多师模式：mode = 1 && classroomId = XXX
 *        	1某一个老师和学生：isParentMode = 0 && teacherId = xxx && studentId = xxx
 *          	 	是不是自己：teacherSelf = true
 *    	旧模式：mode = 0
 *        	2作业： isParentMode = 0 && teacherId = xxx && studentId = xxx
 * </pre>
 * @Description: TODO
 * @author baiqiang.
 * @date 2021年7月21日 下午4:14:06 
 * @ClassName: IHomeworkDashboardRule
 *
 */
public interface IHomeworkDashboardRule {

   public R<Void> getViewDatas(LocalDate startDate,HomeworkDashboardReqVO vo,Map<LocalDate, HomeworkDashboardRespVO> resultMap);
   
}